﻿using Estsh.Core.Base;
using Estsh.Core.Models;
using Estsh.Core.Repositories;
using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Estsh.Core.Wms.IRepositories
{
    public interface ISupplierReturnRepository : IBaseRepository<BaseEntity>
    {
        
        /// <summary>
        /// 处理扫描的箱条码
        /// </summary>
        /// <param name="cartonInfo"></param>
        /// <param name="moveDetail"></param>
        /// <param name="moveSn"></param>
        /// <returns></returns>
        public bool DoCarton(SysStock cartonInfo, WmsMoveDetail moveDetail, WmsMoveSn? moveSn,string loginId);

        //获取完成信息提交数据
        public List<WmsMoveDetail> GetFinishMoveDetailByOrderNo(string orderNo);

        //获取零件号信息
        public SysPart GetPartNOInfoByPartNo(string partNo);

        //把结果添加到接口表
        public bool InsertInterfaceBySupplierReturn(string orderNo);
    }
}
